package dborm

import (
	"time"
)

//Mqttserver struct
type Mqttserver struct {
	ID        int       `xorm:"not null pk autoincr INTEGER 'id'"`
	Host      string    `xorm:"default \"localhost\" TEXT"`
	Port      int       `xorm:"not null default 0 INTEGER"`
	User      string    `xorm:"TEXT 'user'"`
	Password  string    `xorm:"TEXT 'password'"`
	CreatedAt time.Time `xorm:"created"`
	UpdatedAt time.Time `xorm:"updated"`
	DeletedAt time.Time `xorm:"deleted"`
}
